﻿@import url("https://fonts.googleapis.com/css2?family=Cookie&family=Fredoka:wght@300..700&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: "Fredoka", sans-serif;
    overflow-x: hidden;
    background-color: #fff;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

    .hero .logo {
        position: absolute;
        top: 0;
        left: 20px;
        z-index: 10;
    }

    .hero .wheel {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 0;
        width: 150px;
        height: auto;
    }

        .hero .wheel img {
            width: 100%;
            height: auto;
            animation: spin 20s linear infinite;
        }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hero .wheel {
        width: 50px;
        z-index: 3;
    }

    .hero .logo {
        width: 200px;
        left: 50%;
        top: -10px;
        right: 0;
    }

        .hero .logo img {
            width: 100%;
            height: auto;
        }
}

.hero::before {
    background: url(../img/kindercosmos/sprinkle.jpg);
    opacity: 0.2;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 4rem;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    z-index: 2;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide .content {
        width: 50vw;
        padding: 5rem;
        position: relative;
        z-index: 3;
    }

        .slide .content h1 {
            font-size: 8rem;
            line-height: 0.95;
            margin-bottom: 2rem;
            color: #0b2038;
        }

        .slide .content h6 {
            font-size: 30px;
            color: #f25334;
            font-family: "Cookie", cursive;
            background-color: #f253341a;
            width: fit-content;
            border-radius: 20px;
            padding: 5px 30px;
            font-weight: 500;
        }

        .slide .content a {
            background: #f25334;
            color: white;
            text-decoration: none;
            padding: 15px 35px;
            font-size: 20px;
            border-radius: 10px;
            font-weight: 600;
            border: 2px solid #f25334;
            transition: all 0.3s ease-in-out;
        }

            .slide .content a:hover {
                background-color: white;
                color: #f25334;
                border: 2px solid #f25334;
            }

    .slide .graphics {
        height: 100vh;
        width: 54vw;
        position: absolute;
        right: 0;
        top: 0;
        z-index: -1;
    }

        .slide .graphics img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.progress-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #0b2038;
    transition: width 0s linear;
}

@keyframes progressBarFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* --- SERVICE SECTION --- */
.service {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    max-width: 1400px;
    margin: 2rem auto;
}

    .service .service-item {
        position: relative;
        text-align: center;
        width: 270px;
        padding: 69px 20px 51px;
        border-radius: 58px 70px 70px 58px;
        z-index: 2;
        margin: auto;
        overflow: hidden;
        background-color: white;
        border: 1px solid #faf5f2;
    }

.service-item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    transition: all 0.5s linear;
    z-index: 2;
}

.service-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    transition: all 0.5s linear;
    z-index: 2;
}

.service-item:hover::before {
    width: 100%;
    height: 100%;
    border-color: #2196f3;
    border-radius: 58px 70px 70px 58px;
}

.service-item:hover::after {
    width: 100%;
    height: 100%;
    border-color: #2196f3;
    border-radius: 58px 70px 70px 58px;
}

.service .shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: -1;
    background-color: #faf5f2;
    mask: url(img/kindercosmos/service-mask.png);
    mask-repeat: no-repeat;
    mask-position: top center;
    mask-size: cover;
}

.service-item .icon {
    position: relative;
    z-index: 3;
    font-size: 80px;
    line-height: 80px;
    color: #143d5e;
    margin: 0 0 15px;
}

.service-item .title {
    position: relative;
    z-index: 3;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    max-width: 130px;
    margin: 0 auto;
}

/* --- ABOUT SECTION --- */
.about {
    display: flex;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 1rem; /* Added padding for smaller screens */
}

    .about .about-image {
        width: 50%;
        position: relative;
    }

        .about .about-image::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            background-image: url(../img/kindercosmos/about-bg.png);
            width: 100%;
            height: 100%;
            z-index: 0;
            background-size: contain;
            animation: float 6s ease-in-out infinite;
        }

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.about .about-image img {
    width: 100%;
    border-radius: 50%;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    transform-style: preserve-3d;
}

    .about .about-image img:hover {
        transform: perspective(800px) rotateY(10deg) rotateX(5deg) scale(1.05);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }

.about .about-content {
    width: 50%;
}

    .about .about-content h6 {
        color: #f25334;
        font-family: "Cookie", cursive;
        font-weight: 500;
        font-size: 40px;
    }

    .about .about-content h2 {
        font-size: 4rem;
        margin-bottom: 1rem;
        color: #0b2038;
    }

    .about .about-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        color: #555;
    }

    .about .about-content a {
        display: inline-block;
        margin-top: 2rem;
        background: #f25334;
        color: white;
        text-decoration: none;
        padding: 15px 35px;
        font-size: 20px;
        border-radius: 10px;
        font-weight: 600;
        border: 2px solid #f25334;
        transition: all 0.3s ease-in-out;
    }

.filter-bar {
    max-width: 1400px;
    margin: 0 auto 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    padding: 0 1rem;
}

/* Anime/cartoon style select (custom) */
.anime-select {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
}

    .anime-select .label {
        display: flex;
        gap: 0.6rem;
        align-items: center;
        font-weight: 700;
        color: #12324a;
        text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
        font-size: 3rem;
    }

/* The button that looks like a 'cute' dropdown */
.dropdown-btn {
    --h: 56px;
    height: var(--h);
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 50%, #6bcbff 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(107, 203, 255, 0.14), 0 10px 30px rgba(11, 32, 56, 0.08);
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 15vw;
    justify-content: center;
}

    .dropdown-btn:active {
        transform: translateY(2px);
        box-shadow: 0 4px 12px rgba(11, 32, 56, 0.06);
    }

    .dropdown-btn .caret {
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(2px);
    }

        .dropdown-btn .caret i {
            font-size: 16px;
        }

/* menu */
.dropdown-menu {
    position: absolute;
    top: calc(var(--h) + 10px);
    left: 0;
    min-width: 260px;
    background: linear-gradient(180deg, #ffffff, #fff6fb);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(11, 32, 56, 0.12);
    display: none;
    z-index: 50;
}

    .dropdown-menu.open {
        display: block;
    }

    .dropdown-menu .option {
        padding: 10px 14px;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: center;
    }

        .dropdown-menu .option:hover {
            background: linear-gradient(90deg, #f8eef6, #f3fbff);
        }

        .dropdown-menu .option.selected {
            background: linear-gradient( 90deg, rgba(18, 50, 74, 0.06), rgba(107, 203, 255, 0.06) );
            font-weight: 700;
        }

/* cute cloud / sparkles */
.filter-decor {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.cloud {
    width: 80px;
    height: 60px;
    background: linear-gradient(180deg, #fff, #e9f7ff);
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(107, 203, 255, 0.12);
    position: relative;
}

    .cloud::before,
    .cloud::after {
        content: "";
        position: absolute;
        background: inherit;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .cloud::before {
        left: -8px;
        top: -6px;
    }

    .cloud::after {
        right: -8px;
        top: -6px;
    }

/* reset proper feature layout (keeps original grid behavior) */
.feature {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 32, 56, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.25s ease, filter 0.25s ease;
}

    .feature-card.hide {
        opacity: 0;
        transform: translateY(12px) scale(0.995);
        pointer-events: none;
        filter: blur(3px);
    }

    .feature-card .feature-card-content {
        padding: 1rem;
    }

/* small responsive tweaks */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .anime-select .label {
        font-size: 2.5rem;
    }

    .anime-select {
        flex-direction: column;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        left: 8px;
        right: 8px;
    }

    .feature-card.hide {
        display: none;
    }
}

/* --- FEATURE SECTION --- */
.feature {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 1rem; /* Added padding for smaller screens */
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
    gap: 2rem;
}

    .feature-cards .feature-card {
        background-color: white;
        border-radius: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .feature-cards .feature-card:hover {
            transform: perspective(850px) rotateY(5deg) rotateX(3deg);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
        }

        .feature-cards .feature-card .graphics img {
            width: 100%;
            border-radius: 20px;
            overflow: hidden;
        }

            .feature-cards .feature-card .graphics img:hover {
                animation: shine-effect 0.6s ease-in-out;
            }

@keyframes shine-effect {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }

    100% {
        filter: brightness(1);
    }
}

.feature-card .pills {
    display: flex;
    gap: 7px;
    flex-wrap: wrap; /* Added for smaller screens */
}

    .feature-card .pills .pill {
        background-color: #f253341a;
        color: #f25334;
        font-size: 14px;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: 500;
    }

.feature-card .title {
    font-size: 24px;
    margin: 1rem 0;
    color: #0b2038;
}

.feature-card .button {
    background: #f25334;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid #f25334;
    transition: all 0.3s ease-in-out;
    width: fit-content;
}

.feature-card .feature-card-content {
    padding: 1rem;
}

/* --- ADMISSION SECTION --- */
.admission {
    position: relative;
    max-width: 1700px;
    margin: 4rem auto;
    height: fit-content;
}

    .admission::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: url(../img/kindercosmos/admission-bg.jpg);
        background-size: cover;
        background-position: center;
        opacity: 1;
        z-index: 0;
        border-radius: 50px;
    }

    .admission .admission-content {
        padding: 7rem;
        color: #0b2038;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

        .admission .admission-content h6 {
            font-size: 40px;
            font-family: "Cookie", cursive;
        }

        .admission .admission-content h2 {
            font-size: 80px;
        }

        .admission .admission-content p {
            font-size: 30px;
        }

        .admission .admission-content a {
            background: #f25334;
            color: white;
            text-decoration: none;
            padding: 10px 25px;
            font-size: 16px;
            border-radius: 10px;
            font-weight: 600;
            border: 2px solid #f25334;
            transition: all 0.3s ease-in-out;
            width: fit-content;
            position: relative;
            z-index: 2;
        }

    .admission .admission-image {
        position: absolute;
        top: -10rem;
        right: -8rem;
    }

/* --- CONTACT SECTION --- */
.contact {
    position: relative;
    overflow: hidden;
    padding: 5rem 6rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.sweet-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.15; /* minimalist effect */
}

.sweet-item {
    position: absolute;
    width: 150px; /* adjust for smaller/larger look */
    animation: floatCandy 25s linear infinite;
}

    /* Random placements for variety */
    .sweet-item:nth-child(1) {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .sweet-item:nth-child(2) {
        top: 40%;
        left: 20%;
        animation-delay: 5s;
    }

    .sweet-item:nth-child(3) {
        top: 70%;
        left: 10%;
        animation-delay: 10s;
    }

    .sweet-item:nth-child(4) {
        top: 20%;
        left: 60%;
        animation-delay: 15s;
    }

    .sweet-item:nth-child(5) {
        top: 80%;
        left: 70%;
        animation-delay: 8s;
    }

    .sweet-item:nth-child(6) {
        top: 50%;
        left: 80%;
        animation-delay: 3s;
    }

    .sweet-item:nth-child(7) {
        top: 30%;
        left: 40%;
        animation-delay: 12s;
    }

    .sweet-item:nth-child(8) {
        top: 60%;
        left: 50%;
        animation-delay: 18s;
    }

/* Floating animation */
@keyframes floatCandy {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.contact .contact-image {
    width: 50%;
    position: relative;
}

    .contact .contact-image img {
        width: 100%;
        border-radius: 20px;
        transition: transform 0.6s ease, box-shadow 0.6s ease;
        transform-style: preserve-3d;
    }

        .contact .contact-image img:hover {
            transform: perspective(800px) rotateY(10deg) rotateX(5deg) scale(1.05);
            box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
        }

.contact .contact-content {
    width: 50%;
}

    .contact .contact-content h2 {
        font-size: 80px;
        margin-bottom: 1rem;
        color: #0b2038;
    }

    .contact .contact-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        color: #555;
    }

    .contact .contact-content a {
        display: inline-block;
        margin-top: 2rem;
        background: #f25334;
        color: white;
        text-decoration: none;
        padding: 15px 35px;
        font-size: 20px;
        border-radius: 10px;
        font-weight: 600;
        border: 2px solid #f25334;
        transition: all 0.3s ease-in-out;
    }

        .contact .contact-content a:hover {
            background-color: white;
            color: #f25334;
            border: 2px solid #f25334;
        }

    .contact .contact-content h6 {
        color: #f25334;
        font-family: "Cookie", cursive;
        font-weight: 500;
        font-size: 40px;
    }

/* --- FOOTER --- */
footer {
    padding: 2rem 1rem;
    background-color: #0b2038;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
}

/* -------------------------------------- */
/* --- RESPONSIVENESS (Media Queries) --- */
/* -------------------------------------- */

@media (max-width: 1440px) {
    .slide .content h1 {
        font-size: 6rem;
    }

    .slide .content {
        padding: 0 4rem;
    }

    .service,
    .about,
    .feature {
        max-width: 1200px;
    }

    .about {
        gap: 3rem;
    }

        .about .about-content h2 {
            font-size: 3.5rem;
        }

    /* --- NEW RULES --- */
    .admission {
        max-width: 1300px; /* Pull in container */
    }

        .admission .admission-image {
            right: -4rem; /* Pull image in */
            transform: scale(0.9);
        }

        .admission .admission-content h2 {
            font-size: 4.5rem; /* 72px */
        }

        .admission .admission-content p {
            font-size: 1.5rem; /* 24px */
        }

    .contact {
        padding: 5rem 4rem; /* Reduce padding */
    }

        .contact .contact-content h2 {
            font-size: 4.5rem; /* 72px */
        }
    /* --- END NEW RULES --- */
}

@media (max-width: 1024px) {
    /* Hero Section Adjustments */
    .slide .content {
        width: 60vw; /* Take up more space */
        padding: 0 3rem;
    }

        .slide .content h1 {
            font-size: 6rem; /* Smaller font size */
        }

    .slide .graphics {
        width: 45vw; /* Smaller graphic space */
    }

    /* Service Section Adjustments */
    .service {
        flex-wrap: wrap; /* Wrap items onto new lines */
        justify-content: center; /* Center items */
        padding: 0 1rem;
    }

        .service .service-item {
            width: 250px; /* Slightly smaller item width */
            margin: 1rem; /* Add margin for spacing when wrapped */
        }

    /* About Section Adjustments */
    .about {
        gap: 3rem;
        flex-direction: column; /* Stack image and content vertically */
        text-align: center;
        margin: 3rem auto;
    }

        .about .about-image,
        .about .about-content {
            width: 80%; /* Increase width for single column */
        }

            .about .about-content a {
                margin-bottom: 2rem; /* Add spacing below button */
            }

            .about .about-content h2 {
                font-size: 3rem;
            }

    /* --- NEW RULES --- */
    /* Admission Section Adjustments */
    .admission {
        margin: 3rem auto;
        padding: 0 1rem; /* Add padding for container */
    }

        .admission::before {
            border-radius: 30px;
        }

        .admission .admission-content {
            padding: 4rem 3rem; /* Reduce padding */
            width: 70%; /* Don't let text span full width */
        }

            .admission .admission-content h2 {
                font-size: 3.5rem; /* 56px */
            }

            .admission .admission-content p {
                font-size: 1.25rem; /* 20px */
            }

    /* Contact Section Adjustments */
    .contact {
        flex-direction: column; /* Stack vertically */
        gap: 2rem;
        padding: 3rem 2rem;
        text-align: center;
    }

        .contact .contact-content,
        .contact .contact-image {
            width: 90%; /* Take up more width */
        }

            .contact .contact-content h2 {
                font-size: 3.5rem; /* 56px */
            }

            .contact .contact-content a {
                margin: 0.5rem; /* Add spacing for side-by-side buttons */
            }

    /* Footer Adjustments */
    footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    /* --- END NEW RULES --- */
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .slide {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        text-align: center;
    }

        .slide .content {
            width: 100%;
            height: auto;
            padding: 1rem 1.5rem;
            box-sizing: border-box;
        }

            .slide .content h6 {
                font-size: 25px;
            }

            .slide .content h1 {
                font-size: 2.5rem;
                margin-bottom: 2rem;
                margin-top: 1rem;
            }

            .slide .content a {
                padding: 10px 20px;
                font-size: 16px;
            }

        .slide .graphics {
            position: static;
            width: 100%;
            height: 50vh;
            margin-top: 6rem;
            padding: 1rem;
            order: -1;
        }

            .slide .graphics img {
                object-fit: cover;
                object-position: center;
                border-radius: 40%;
            }

    .progress-indicator {
        bottom: 10px;
        width: 90%;
    }

    .service {
        margin: 1rem auto;
        padding: 0;
    }

        .service .service-item {
            width: 45%;
            margin: 0.5rem;
            padding: 40px 10px 30px;
        }

    .service-item .icon {
        font-size: 60px;
        line-height: 60px;
    }

    .service-item .title {
        font-size: 18px;
    }

    .about {
        flex-direction: column;
        margin: 3rem auto;
    }

        .about .about-image,
        .about .about-content {
            width: 95%;
            padding: 0 1rem;
        }

        .about .about-image {
            margin-bottom: 2rem;
        }

        .about .about-content h2 {
            font-size: 2.5rem;
        }

        .about .about-content p {
            font-size: 1rem;
        }

    .feature-cards {
        grid-template-columns: 1fr;
    }

        .feature-cards .feature-card {
            margin: 0 1rem;
        }

    .admission {
        margin: 3rem auto;
        width: 95%;
    }

        .admission::before {
            border-radius: 20px;
        }

        .admission .admission-content {
            padding: 3rem 1.5rem;
            width: 100%;
            box-sizing: border-box;
            text-align: center;
        }

            .admission .admission-content h6 {
                font-size: 30px;
            }

            .admission .admission-content h2 {
                font-size: 2.5rem;
            }

            .admission .admission-content p {
                font-size: 1rem;
            }

            .admission .admission-content a {
                margin: 1rem auto 0;
            }

        .admission .admission-image {
            position: absolute;
            left: 55%;
            right: 0;
            top: -20rem;
            width: 100%;
            margin: 2rem auto 0;
        }

            .admission .admission-image img {
                width: 50%;
                height: auto;
            }

    .contact {
        padding: 3rem 1.5rem;
        gap: 5rem;
    }

        .contact .contact-content,
        .contact .contact-image {
            width: 100%;
        }

            .contact .contact-content h2 {
                font-size: 2.5rem;
            }

            .contact .contact-content p {
                font-size: 1rem;
            }

            .contact .contact-content a {
                display: block;
                width: 90%;
                margin: 1rem auto;
                box-sizing: border-box;
            }

    footer {
        font-size: 16px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    /* Service Section Adjustments */
    .service {
        padding: 0 0.5rem;
    }

        .service .service-item {
            width: 90%; /* Single item per row */
            margin: 0.5rem auto;
        }

    /* --- NEW RULES --- */
    /* Admission Section Adjustments */
    .admission {
        margin: 2rem auto;
        width: 95%;
    }

        .admission::before {
            border-radius: 20px;
        }

        .admission .admission-content {
            padding: 2rem 1rem;
        }

            .admission .admission-content h2 {
                font-size: 2rem; /* 32px */
            }

            .admission .admission-content p {
                font-size: 0.9rem; /* 14.4px */
            }

    /* Contact Section Adjustments */
    .contact {
        padding: 2rem 1rem;
    }

        .contact .contact-content h6 {
            font-size: 30px;
        }

        .contact .contact-content h2 {
            font-size: 2rem; /* 32px */
        }

        .contact .contact-content a {
            font-size: 16px;
            padding: 10px 20px;
            width: 100%;
        }
    /* --- END NEW RULES --- */
}

img {
    user-drag: none;
    -webkit-user-drag: none;
}
